<?php
    class chat_messageBlock_Controller extends controllerBase
    {
        public function process()
        {
            core::checkSession();
            $oDatabase = new database();
            if(isset($_SESSION['username']))
            {
                $aChat = array();
                $squery ='select * from user where user_id !="'.$_SESSION['username'].'"';
                $aChat = $oDatabase->getListObject($squery);
                $this->aParams['aUser'] = $aChat;
            }
        }
    }
?>
